import request from '@/utils/request';

//余额明细
export function getMoneyLogList(data) {
  return request({
    url: '/dev-api/api/recharge/moneyLogList',
    method: 'post',
    data: data,
  });
}

//余额筛选条件
export function getMoneyType(data) {
  return request({
    url: '/dev-api/api/recharge/moneyType',
    method: 'post',
    data: data,
  });
}

//余额明细导出
export function getMoneyLogExport(data) {
  return request({
    url: '/dev-api/api/recharge/moneyLogExport',
    method: 'post',
    data: data,
  });
}


// new  
export function monExpenditure(data) {
  return request({
    url: '/dev-api/api/MoneyWallet/expenditure',
    method: 'post',
    data: data,
  });
}

//收款 
export function incomeApi(data) {
  return request({
    url: '/dev-api/api/MoneyWallet/income',
    method: 'post',
    data: data,
  });
}
//充值管理 
export function rechargeApi(data) {
  return request({
    url: '/dev-api/api/MoneyWallet/rechargeLog',
    method: 'post',
    data: data,
  });
}
//账户充值
export function addMoney(data) {
  return request({
    url: '/dev-api/api/Coupon/addMoney',
    method: 'post',
    data: data,
  });
}
//付款方式商家信息  /dev-api/api/index/rechargeType
export function merchantType(data) {
  return request({
    url: '/dev-api/api/index/rechargeType',
    method: 'post',
    data: data,
  });
}
//商家码 
export function commitRechargeApi(data) {
  return request({
    url: '/dev-api/api/MoneyWallet/commitRecharge',
    method: 'post',
    data: data,
  });
}